package com.ruicar.afs.cloud.channel.affiliation.condition;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruicar.afs.cloud.channel.affiliation.entity.ChannelAffiliatedUnitsTemp;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author panhj
 */
@Data
public class AffiliationCondition extends ChannelAffiliatedUnitsTemp {
    int pageSize;
    int pageNumber;
    private String startDate;
    private String endDate;
    /**
     * 渠道归属
     */
    private String channelBelong;
    /**
     * 渠道名称
     */
    private String channelName;
    /**
     * 渠道id
     */
    private Long channelId;
    /**
     * 保存提交标记
     */
    private String saveOrCommit;
    /**
     * 审核备注
     */
    private String examineRemark;
    /**
     * 审核原因
     */
    private String examineReason;
    /**
     * 返回String类型的channelId，前端接收
     */
    private String channelIdReturn;
    /**
     * 是否长期
     */
    private String isOrNotLong;

    /**
     * 业务id
     */
    private String bizDataId;
    /**
     * 节点处理人
     */
    private String taskName;
    /**
     * 用户名
     */
    private String username;
    /**
     * 网约车合作有效期
     * */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date channelTermValidity;

}
